<%-- 
    Document   : editProfile
    Created on : 01.08.2012, 16:44:20
    Author     : vgordievich
--%>

<%@taglib uri="http://www.springframework.org/tags" prefix="spring" %>
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<div id="content">

    <h2><spring:message code="label.editProfile"/></h2>

    <br/>

    <div style="width: 20%;" align="right">

        <form:form action="/carservicePage/saveProfile" method="post"
              commandName="user">

            <spring:message code="label.email"/>:
            <form:errors path="email" id="error"/>
            <label>
                <form:input path="email" readonly="true"/>
            </label>
            <br/>

            <spring:message code="label.password"/>:
            <form:errors path="password" id="error"/>
            <form:password path="password"/>
            <br/>

            <spring:message code="label.confirmPassword"/>:
            <input type="password" name="confPassword"/>
            <br/> <br/>

            <br/> <br/>
            <input type="submit" value='<spring:message code="label.submit" /> ' id="button_c">

        </form:form>
        </div>

        </div>
